import java.util.Scanner;

public class Main1035 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        if (a >= 86) {
            System.out.println("VERY GOOD");
        } else if (a >= 60) {
            System.out.println("GOOD");
        } else {
            System.out.println("BAD");
        }
    }
}